package cvi.com.reader.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梅涛 on 2020/7/24.
 */

public class ChartDataBean implements Serializable {


    /**
     * code : 1
     * data : [{"id":449,"user_id":81,"material_id":348,"bgm_id":1,"media_path":"/uploads/works/20221102/81_7b15b8c7cad9f373755d0f41d82047d848dc6bbb.wav","score":89,"accuracy_score":0,"emotion_score":0,"fluency_score":82,"integrity_score":100,"phone_score":97,"tone_score":85,"views":0,"likes":0,"tipoff":0,"likes_clicked":0,"material":{"id":348,"material_category_id":23,"material_name":"一望二三里","material_name_pinyin":"ywesl","author":"佚名","author_pinyin":"ym","type":"0","cover_img":"","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/custom/bg/1.jpg","font_color":"0","center":"1","content":"<p>一望二三里，烟村四五家。<\/p><p>门前六七树，八九十支花。<\/p>","media_path":"","status":"normal","click_times":35,"read_times":50,"create_time":1593418388,"update_time":1607565701,"delete_time":null,"words_count":24},"user":{"id":81,"realname":"窦鑫","avatar":"/uploads/files/20211202/e19972088c7d4d534aa069d6589ff525.jpg","class":"一（1）班"}},{"id":25,"user_id":83,"material_id":348,"bgm_id":17,"media_path":"/uploads/works/20211119/83_1be8fb44eec519689c731b94e14392dbe87379f5.wav","score":76,"accuracy_score":0,"emotion_score":0,"fluency_score":0,"integrity_score":0,"phone_score":0,"tone_score":0,"views":1,"likes":0,"tipoff":0,"likes_clicked":0,"material":{"id":348,"material_category_id":23,"material_name":"一望二三里","material_name_pinyin":"ywesl","author":"佚名","author_pinyin":"ym","type":"0","cover_img":"","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/custom/bg/1.jpg","font_color":"0","center":"1","content":"<p>一望二三里，烟村四五家。<\/p><p>门前六七树，八九十支花。<\/p>","media_path":"","status":"normal","click_times":35,"read_times":50,"create_time":1593418388,"update_time":1607565701,"delete_time":null,"words_count":24},"user":{"id":83,"realname":"蒋宇涵","avatar":"/uploads/files/20211202/c6f20fde2aef7c8ae2aa880e9f1b5cb5.jpg","class":"一（1）班"}},{"id":450,"user_id":0,"material_id":348,"bgm_id":1,"media_path":"/uploads/works/20221102/81_a60672e11879a4eb47322345f5a34b6f7d0c487f.wav","score":16,"accuracy_score":0,"emotion_score":0,"fluency_score":9,"integrity_score":0,"phone_score":0,"tone_score":0,"views":0,"likes":0,"tipoff":0,"likes_clicked":0,"material":{"id":348,"material_category_id":23,"material_name":"一望二三里","material_name_pinyin":"ywesl","author":"佚名","author_pinyin":"ym","type":"0","cover_img":"","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/custom/bg/1.jpg","font_color":"0","center":"1","content":"<p>一望二三里，烟村四五家。<\/p><p>门前六七树，八九十支花。<\/p>","media_path":"","status":"normal","click_times":35,"read_times":50,"create_time":1593418388,"update_time":1607565701,"delete_time":null,"words_count":24},"user":null}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 449
         * user_id : 81
         * material_id : 348
         * bgm_id : 1
         * media_path : /uploads/works/20221102/81_7b15b8c7cad9f373755d0f41d82047d848dc6bbb.wav
         * score : 89
         * accuracy_score : 0
         * emotion_score : 0
         * fluency_score : 82
         * integrity_score : 100
         * phone_score : 97
         * tone_score : 85
         * views : 0
         * likes : 0
         * tipoff : 0
         * likes_clicked : 0
         * material : {"id":348,"material_category_id":23,"material_name":"一望二三里","material_name_pinyin":"ywesl","author":"佚名","author_pinyin":"ym","type":"0","cover_img":"","lt_img":"","rb_img":"","bg_img":"/uploads/material/cover/custom/bg/1.jpg","font_color":"0","center":"1","content":"<p>一望二三里，烟村四五家。<\/p><p>门前六七树，八九十支花。<\/p>","media_path":"","status":"normal","click_times":35,"read_times":50,"create_time":1593418388,"update_time":1607565701,"delete_time":null,"words_count":24}
         * user : {"id":81,"realname":"窦鑫","avatar":"/uploads/files/20211202/e19972088c7d4d534aa069d6589ff525.jpg","class":"一（1）班"}
         */

        private int id;
        private int user_id;
        private int material_id;
        private int bgm_id;
        private String media_path;
        private int score;
        private int accuracy_score;
        private int emotion_score;
        private int fluency_score;
        private int integrity_score;
        private int phone_score;
        private int tone_score;
        private int views;
        private int likes;
        private int tipoff;
        private int likes_clicked;
        private MaterialBean material;
        private UserBean user;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getMaterial_id() {
            return material_id;
        }

        public void setMaterial_id(int material_id) {
            this.material_id = material_id;
        }

        public int getBgm_id() {
            return bgm_id;
        }

        public void setBgm_id(int bgm_id) {
            this.bgm_id = bgm_id;
        }

        public String getMedia_path() {
            return media_path;
        }

        public void setMedia_path(String media_path) {
            this.media_path = media_path;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getAccuracy_score() {
            return accuracy_score;
        }

        public void setAccuracy_score(int accuracy_score) {
            this.accuracy_score = accuracy_score;
        }

        public int getEmotion_score() {
            return emotion_score;
        }

        public void setEmotion_score(int emotion_score) {
            this.emotion_score = emotion_score;
        }

        public int getFluency_score() {
            return fluency_score;
        }

        public void setFluency_score(int fluency_score) {
            this.fluency_score = fluency_score;
        }

        public int getIntegrity_score() {
            return integrity_score;
        }

        public void setIntegrity_score(int integrity_score) {
            this.integrity_score = integrity_score;
        }

        public int getPhone_score() {
            return phone_score;
        }

        public void setPhone_score(int phone_score) {
            this.phone_score = phone_score;
        }

        public int getTone_score() {
            return tone_score;
        }

        public void setTone_score(int tone_score) {
            this.tone_score = tone_score;
        }

        public int getViews() {
            return views;
        }

        public void setViews(int views) {
            this.views = views;
        }

        public int getLikes() {
            return likes;
        }

        public void setLikes(int likes) {
            this.likes = likes;
        }

        public int getTipoff() {
            return tipoff;
        }

        public void setTipoff(int tipoff) {
            this.tipoff = tipoff;
        }

        public int getLikes_clicked() {
            return likes_clicked;
        }

        public void setLikes_clicked(int likes_clicked) {
            this.likes_clicked = likes_clicked;
        }

        public MaterialBean getMaterial() {
            return material;
        }

        public void setMaterial(MaterialBean material) {
            this.material = material;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class MaterialBean {
            /**
             * id : 348
             * material_category_id : 23
             * material_name : 一望二三里
             * material_name_pinyin : ywesl
             * author : 佚名
             * author_pinyin : ym
             * type : 0
             * cover_img :
             * lt_img :
             * rb_img :
             * bg_img : /uploads/material/cover/custom/bg/1.jpg
             * font_color : 0
             * center : 1
             * content : <p>一望二三里，烟村四五家。</p><p>门前六七树，八九十支花。</p>
             * media_path :
             * status : normal
             * click_times : 35
             * read_times : 50
             * create_time : 1593418388
             * update_time : 1607565701
             * delete_time : null
             * words_count : 24
             */

            private int id;
            private int material_category_id;
            private String material_name;
            private String material_name_pinyin;
            private String author;
            private String author_pinyin;
            private String type;
            private String cover_img;
            private String lt_img;
            private String rb_img;
            private String bg_img;
            private String font_color;
            private String center;
            private String content;
            private String media_path;
            private String status;
            private int click_times;
            private int read_times;
            private int create_time;
            private int update_time;
            private Object delete_time;
            private int words_count;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMaterial_category_id() {
                return material_category_id;
            }

            public void setMaterial_category_id(int material_category_id) {
                this.material_category_id = material_category_id;
            }

            public String getMaterial_name() {
                return material_name;
            }

            public void setMaterial_name(String material_name) {
                this.material_name = material_name;
            }

            public String getMaterial_name_pinyin() {
                return material_name_pinyin;
            }

            public void setMaterial_name_pinyin(String material_name_pinyin) {
                this.material_name_pinyin = material_name_pinyin;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public String getAuthor_pinyin() {
                return author_pinyin;
            }

            public void setAuthor_pinyin(String author_pinyin) {
                this.author_pinyin = author_pinyin;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getCover_img() {
                return cover_img;
            }

            public void setCover_img(String cover_img) {
                this.cover_img = cover_img;
            }

            public String getLt_img() {
                return lt_img;
            }

            public void setLt_img(String lt_img) {
                this.lt_img = lt_img;
            }

            public String getRb_img() {
                return rb_img;
            }

            public void setRb_img(String rb_img) {
                this.rb_img = rb_img;
            }

            public String getBg_img() {
                return bg_img;
            }

            public void setBg_img(String bg_img) {
                this.bg_img = bg_img;
            }

            public String getFont_color() {
                return font_color;
            }

            public void setFont_color(String font_color) {
                this.font_color = font_color;
            }

            public String getCenter() {
                return center;
            }

            public void setCenter(String center) {
                this.center = center;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getMedia_path() {
                return media_path;
            }

            public void setMedia_path(String media_path) {
                this.media_path = media_path;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getClick_times() {
                return click_times;
            }

            public void setClick_times(int click_times) {
                this.click_times = click_times;
            }

            public int getRead_times() {
                return read_times;
            }

            public void setRead_times(int read_times) {
                this.read_times = read_times;
            }

            public int getCreate_time() {
                return create_time;
            }

            public void setCreate_time(int create_time) {
                this.create_time = create_time;
            }

            public int getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(int update_time) {
                this.update_time = update_time;
            }

            public Object getDelete_time() {
                return delete_time;
            }

            public void setDelete_time(Object delete_time) {
                this.delete_time = delete_time;
            }

            public int getWords_count() {
                return words_count;
            }

            public void setWords_count(int words_count) {
                this.words_count = words_count;
            }
        }

        public static class UserBean {
            /**
             * id : 81
             * realname : 窦鑫
             * avatar : /uploads/files/20211202/e19972088c7d4d534aa069d6589ff525.jpg
             * class : 一（1）班
             */

            private int id;
            private String realname;
            private String avatar;
            @SerializedName("class")
            private String classX;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getRealname() {
                return realname;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }
        }
    }
}
